import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  { path: '/', component: () => import('@/views/layout/index.vue') },
  { path: '/eventtype', component: () => import('@/views/eventtype/index.vue') },
  { path: '/gather', component: () => import('@/views/gather/index.vue') },
  { path: '/meter', component: () => import('@/views/meter/index.vue') },
  { path: '/measure', component: () => import('@/views/measure/index.vue') },
  // { path: '/device', component: () => import('@/views/device/index.vue') },
  { path: '/device/:treeModel', component: () => import('@/views/device/index.vue') },
  { path: '/MbmDevice', component: () => import('@/views/MbmDevice/index.vue') },
  // { path: '/MBMmonitor', component: () => import('../views/monitor/index.vue') }
]
const router = new VueRouter({
  routes
})
export default router
